<?php //var_dump($data);?>
<form name = "frm_updateloaihang" method = "post" action = "" enctype="multipart/form-data">
<table width = "100%" cellpadding = "2" cellspacing = "2" border = "0" align = "center">
<tr> <th colspan = "2" class = "danhmuc"> CẬP NHẬT TIN TỨC </th> </tr>
<!-- // TieuDe, NoiDung, AnHien  -->
<tr> 
	<td width = "100" valign = "top"> <div align = "right">Tiêu đề </div> </td>
	<td width = "" valign = "top" align = "left">
		<input name = "tieude" type = "text" value = "<?php echo $data['TieuDe'];?>"/>
	</td>
</tr>
<tr> 
	<td width = "100" valign = "top"> <div align = "right"> Nội dung </div> </td>
	<td width = "" valign = "top" align = "left">
		<textarea id = "noidung"  name = "noidung" class="ckeditor" rows="8" cols="10">
			<?php echo $data['NoiDung'];?>
		</textarea>
	</td>
</tr>
<tr> 
	<td width = "100" valign = "top"> <div align = "right"> Trạng thái</div> </td>
	<td width = "" valign = "top" align = "left">
	<select name = "anhien">
		<?php 
			if($data['AnHien'] == 1)
			{
				echo '<option value = "1"> Hiện </option>';
				echo '<option value = "0"> Ẩn </option>';
			}
			else {
				echo '<option value = "0"> Ẩn </option>';
				echo '<option value = "1"> Hiện </option>';
			}
		?>
	</select>
		
	</td>
</tr>
<tr>
	<td width = "400" valign = "top" colspan = "2"> <div> <input name = "btok" type = "submit" value = "Cập Nhật"/> </div> </td>
</tr>
</table>
</form>
